package com.qian.api.ddj.service;

import com.qian.api.ddj.model.ChangeCard;
import com.yaowk.api.common.IBaseService;

import java.util.List;

public interface IChangeCardService extends IBaseService<ChangeCard, Long> {

    void allow(Long id);

    void notAllow(Long id);

    ChangeCard save(ChangeCard changeCard);

    void cancel(ChangeCard changeCard);

    List<ChangeCard> findByUserId(Integer userId);

    ChangeCard checkChangeCardCondition(Integer userId);
}
